package com.woniuxy.entity;

/**
 * @author: wgt
 * Date: 2021/11/12:0:53
 * Description:
 */
public class Son extends Man{
    private int age;
    private String name;




    @Override
    public String toString() {
        return "Son{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }

    @Override
    public int getAge() {
        return age;
    }

    @Override
    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }
}
